package com.oa.modules.approvalsec1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jiangwei
 * @email 785297226@qq.com
 * @date 2021-12-27 10:37:11
 */
@Data
@TableName("category")
public class CategoryEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 项目分类id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "项目分类id ")
    private Integer id;
    /**
     * 状态(0:是 1:否)
     */
    @ApiModelProperty(value = "状态(0:是 1:否) ")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间 ")
    private Date createDate;
    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id ")
    private String createOper;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注 ")
    private String remark;
    /**
     * 项目分类
     */
    @ApiModelProperty(value = "项目分类 ")
    private String projectCategory;

    @ApiModelProperty(value = "此类型的项目数量")
    @TableField(exist = false)
    private Long count;

}
